package com.teach.controller.certificate;


import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import com.teach.entity.CertificateInfo;
import com.teach.service.CertificateInfoService;




@Controller
@RequestMapping("/certificate")
public class CertificatePersonalSelectController {

	
	@Autowired
	CertificateInfoService cis;
	
	@RequestMapping("/index.do")
	@ResponseBody
	public List<CertificateInfo> doIndex(){
		return cis.listAll();
	} 

}
